!<template>
    <div class="big">
        <h4>选择审批类型</h4>
        <div class="bigx">
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>建设用地审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('建设用地审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>厂房用地审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('厂房用地审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>企业投资审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('企业投资审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>招聘用工审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('招聘用工审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>环保标准审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('环保标准审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>企业融资审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('企业融资审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>税务登记审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('税务登记审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>社保补缴审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('社保补缴审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>企业出口审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('企业出口审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>原料采购审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('原料采购审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>办公地址变更审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('办公地址变更审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="little-top">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3>企业募股审批</h3>
                </div>
                <div class="little-btn">
                    <span @click="addApproval('企业募股审批')">新建审批</span>
                    <span>了解详情</span>
                </div>
            </div>
            <div class="little">
                <div class="littleh">
                    <span class="iconfont icon-qiyeguanli"></span>
                    <h3 @click="hhhh">我的审批 >></h3>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
import { reactive, ref, onMounted } from "vue";
import { useRouter } from 'vue-router'
    export default {
        name:'ApprovalType',
        setup(){
            const router = useRouter()
            const addApproval = (data)=>{
                console.log(1111)
                console.log(data)
                router.push({ path:'/SubmitApproval',query:{data:data}})

            }
            const hhhh = ()=>{
                router.push('/ApprovaChecklist')
            }
            return{
                addApproval,hhhh
            }
        }
    }
</script>

<style scoped>
.big{
    height: 400px;
    width: 1300px;
}
.bigx{
    margin-top: -25px;
    height: 600px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}
.little{
    height: 125px;
    width: 230px;
    /* background-color: pink; */
    margin: 15px 14px;
    border-radius: 10px;
    box-shadow: 10px 5px 5px #eaebed;
}
.little-top{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* background-color: aqua; */
    border-radius: 10px 10px 0 0;
}
.iconfont{
    width: 70px;
    height: 70px;
    font-size: 50px;
    line-height: 70px;
    text-align: center;
    color: #ebfafa;
}
.little-btn{
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* background-color: red; */
    border-radius: 0 0 10px 10px;
}
.little-btn span{
    padding: 10px 0;
    /* width: 10px; */
    color: #5db9dd;
    cursor: pointer;
}
h4{
    margin-left: 30px;
    font-size: 27px;
}
.littleh{
    height: 130px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
h3{
    font-size: 17px;
    cursor: pointer;
}
</style>